---
name: 标签 tag
route: /tag
---

import { Playground, PropsTable } from 'docz'
import Tag from './index.js'

import './index.scss'

# 标签

笔架沾窗雨，`书签`映隙曛

## 代码演示

### 基本用法

<Playground>
  <Tag>标签</Tag>
</Playground>

### 更改配色

<Playground>
  <Tag color='#c45a65'>标签</Tag>
  <Tag color='#0f1423'>标签</Tag>
  <Tag color='#ccccd6'>标签</Tag>
</Playground>

### 可关闭

<Playground>
  <Tag color='#2376b7' closable>标签</Tag>
</Playground>

### 受控

<Playground>
  <Tag visible={true}>可见</Tag>
  <Tag visible={false}>不可见</Tag>
</Playground>

## 属性

<PropsTable of={Tag} />
